package com.mask.mk.service;

import com.mask.mk.util.JsonResult;
import com.mask.mk.vo.goods.QueryByMultReq;
import com.mask.mk.vo.goods.UploadGoodsRequest;

/**
 * <p>
 * 商品信息 服务类
 * </p>
 *
 * @author joey
 * @since 2023-04-25
 */
public interface GoodsService  {

    //插入或更新
    JsonResult insertUpdateGoods(UploadGoodsRequest uploadGoodsRequest);

    //获取商品列表
    JsonResult getGoodsList();

    //根据商品id查询商品详情
    JsonResult getGoodsById(int goodsId);

    //根据分类查询
    JsonResult getGoodsByMultipleConditions(UploadGoodsRequest uploadGoodsRequest);

    //分组查询
    JsonResult getGoodsByGroup(QueryByMultReq query);

    //排序

}
